package computerPackage;

public class AMD implements CPU{
	private String Name;
	private double coreNum;
	private double price;
	public AMD() {
		Name="AMD";
		coreNum=1.2;
		price=1000.00;
	}
	public AMD(String Name,double coreNum,double price) {
		this.Name=Name;
		this.coreNum=coreNum;
		this.price=price;
	}
	@Override
	public String workmethod() {
		return "AMD+work";
	}
	@Override
	public String getName() {
		return Name;
	}
	@Override
	public double getprice() {
		return price;
	}
}
